﻿#ifndef POSTCOMMAND_CMDSETHEATMAPFIXEDVALUECHANGED_H
#define POSTCOMMAND_CMDSETHEATMAPFIXEDVALUECHANGED_H

#include "CommandManager/CommandBase.h"

namespace PostCommand
{
    /// @brief 后处理保存图像命令
    class CmdSetHeatMapFixedValueChanged : public CommandManager::CommandBase
    {
        Q_OBJECT

    public:
        CmdSetHeatMapFixedValueChanged();
        ~CmdSetHeatMapFixedValueChanged();

        bool execute() override;
        void undo() override;
        void redo() override;

        void setHeatMapFixedValueChanged(int windowId, QList<int> indexList);

    private:
        int m_windowId;
        QList<int> m_indexList;
    };
} // namespace PostCommand

#endif
